package com.by.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@ApiModel("货代-询价")
public class ForwarderQuote implements Serializable {
    @ApiModelProperty("货代ID")
    private Integer ID;
    @ApiModelProperty("询价编码")
    private String inquiry;
    @ApiModelProperty("报价编码")
    private String quotation;
    @ApiModelProperty("报价条款")
    private String terms;
    @ApiModelProperty("人民币费用")
    private Double rmb;
    @ApiModelProperty("海运费USD")
    private Double usd;
    @ApiModelProperty("目的港费用")
    private Double endport;
    @ApiModelProperty("报价有效期")
    @JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss")
    private Integer validity_period;
    @ApiModelProperty("海运费合计")
    private String transportation_total;
    @ApiModelProperty("航公司")
    private String shipping_company;
    @ApiModelProperty("航次")
    private String voyage;
    @ApiModelProperty("航程")
    private Double voyage_distance;
    @ApiModelProperty("截图")
    private String screenshot;
    @ApiModelProperty("是否默认报价")
    private Integer is_default;
    @ApiModelProperty("报价时间")
    @JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss")
    private LocalDateTime create_time;
    @ApiModelProperty("报价状态")
    private Integer status;
    @ApiModelProperty("退单类型")
    private Integer type;
    @ApiModelProperty("退单原因")
    private String reason;
    @ApiModelProperty("是否确认")
    private Integer is_confirm;
}
